/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.hourupdate.network.connection;

import java.util.MissingResourceException;
import java.util.ResourceBundle;

/**
 *
 * @author Windows7
 */
public class ConnectionProperties {
    private static final ResourceBundle RESOURCES=ResourceBundle.getBundle("hourupdate");
    public static int getconResourceInt(String param) throws MissingResourceException{
            return Integer.parseInt(RESOURCES.getString(param));
    }
    public static String getconResourceString(String param) throws MissingResourceException{
            return RESOURCES.getString(param);
    }
    public static boolean getconResourceBoolean(String param) throws MissingResourceException{
            return (Boolean.valueOf(RESOURCES.getString(param))).booleanValue();
    }
}
